package com.ruoyi.mushcoin.domain.bo;

import com.ruoyi.common.orm.core.domain.BaseEntityTo;
import com.ruoyi.mushcoin.domain.TgLanguageData;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * TG多国语言业务对象 tg_language_data
 *
 * @author billy
 * @date 2025-03-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TgLanguageData.class, reverseConvertGenerate = false)
public class TgLanguageDataBo extends BaseEntityTo {

    /**
     * 主键
     */
    private Long id;

    /**
     * 语言
     */
    @NotBlank(message = "语言不能为空")
    private String languageType;

    /**
     * 模块接口类型
     */
    @NotNull(message = "模块接口类型不能为空")
    private Integer moduleType;

    /**
     * 模块数据ID
     */
    @NotNull(message = "模块数据ID不能为空")
    private Long moduleDataId;

    /**
     * 语言内容
     */
    @NotBlank(message = "语言内容不能为空")
    private String value;


}
